<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="fm" uri="http://www.springframework.org/tags/form"%>
<%@include file="/WEB-INF/jsp/common/head.jsp"%>
        <div class="right">
            <div class="location">
                <strong>你现在所在的位置是:</strong>
                <span>我的申请>>签到管理</span>
            </div>
			<div class="search">
                <form method="post" action="${pageContext.request.contextPath }/meeting/attendeelist.html">
                    <input name="method" value="query" class="input-text" type="hidden">
                    <input type="hidden" name="mid" value="${mid}">
                    <select name="readStatus">

                        <option value="-1">--请选择--</option>
                        <option <c:if test="${'1' == readStatus }">selected="selected"</c:if>
                                value="1">已阅</option>
                        <option <c:if test="${'0' == readStatus }">selected="selected"</c:if>
                                value="0">未阅读</option>
                    </select>

                    <select name="checkStatus">

                        <option value="-1">--请选择--</option>
                        <option <c:if test="${'1' == checkStatus }">selected="selected"</c:if>
                                value="1">已签到</option>
                        <option <c:if test="${'0' == checkStatus }">selected="selected"</c:if>
                                value="0">未签到</option>
                    </select>

                    <input type="hidden" name="pageIndex" value="1"/>
                    <input	value="查 询" type="submit" id="searchbutton">

                </form>
			</div>
			<!--请在此处添加table表格 -->
            <!--用户-->
            <table class="providerTable" cellpadding="0" cellspacing="0">
                <tr class="firstTr">
                    <th width="25%">与会人编号</th>
                    <th width="25%">与会人姓名</th>
                    <th width="25%">阅读状态</th>
                    <th width="25%">签到状态</th>

                </tr>
                <c:forEach var="attendee" items="${ attendeeList }" varStatus="status">
                    <tr>
                        <td>
                            <span>${attendee.userCode }</span>
                        </td>
                        <td>
                            <span>${attendee.userName }</span>
                        </td>
                        <td>
                            <c:if test="${attendee.readStatus=='1'}">
                                <span>已阅</span>
                            </c:if>
                            <c:if test="${attendee.readStatus=='0'}">
                                <span>未阅</span>
                            </c:if>
                        </td>
                        <td>
                            <c:if test="${attendee.checkStatus=='1'}">
                                <span>已签到</span>
                            </c:if>
                            <c:if test="${attendee.checkStatus=='0'}">
                                <span>未签到</span>
                            </c:if>
                        </td>
                    </tr>
                </c:forEach>
            </table>

            <input type="hidden" id="totalPageCount" value="${totalPageCount}"/>
            <c:import url="/WEB-INF/jsp/common/rollpage.jsp">
                <c:param name="totalCount" value="${totalCount}"/>
                <c:param name="currentPageNo" value="${pageIndex}"/>
                <c:param name="totalPageCount" value="${totalPageCount}"/>
            </c:import>

            <div class="providerAddBtn">
                <input type="button" id="back" name="back" value="返回" style="margin: 0 auto">
            </div>
        </div>

    </div>
    </section>


<%@include file="/WEB-INF/jsp/common/foot.jsp" %>
<!-- 请注意更新JS脚本路径 -->
<script type="text/javascript" 
	src="${pageContext.request.contextPath }/statics/js/attendeelist.js"></script>
